package com.company.java.basic.Abstract_Factory;

import com.company.java.basic.the_Factory.ConcreteProductB;

public class ConcreteFactory2 implements AbstractFactory {
    @Override
    public AbstractProductA createProductA() {
        AbstractProductA apa = new ConcreteProductA2();
        return apa;

    }

    @Override
    public AbstractProductB createProductB() {
        AbstractProductB apa = new ConcreteProductB2();
        return apa;
    }
}
